home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 1997-99 Pandemic Studios
- //
- // Dark Reign II
- //
-
- CreateObjectType("objective_stop_ravine", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("InRegion")
- {
- Region("ThroughRavine");
- Team("JDA");
- Type("*")
- {
- Amount(0);
- Operator(">");
- }
- }
- Action()
- {
- GameMessage()
- {
- Message("msg_stop_ravine");
- }
- }
- }
- }
-
- CreateObjectType("objective_spawn_stop_ravine2", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("AND")
- {
- Condition("InRegion")
- {
- Region("ThroughRavine");
- Team("JDA");
- Type("*")
- {
- Amount(0);
- Operator(">");
- }
- }
- Condition("Timer")
- {
- Time(15);
- }
- }
- Action()
- {
- ExecuteScript("stopravine2*", "squad.move.spawntotrail.repeating")
- {
- Op("%.types", "=", "reinforcements3");
- Op("%.region", "=", "StopRavine");
- Op("%.trail", "=", "StopRavine");
-
- // Op("%.formation", "=", "Box");
- // Op("%.direction", "=", 0.0);
- }
- }
- }
- }
-
-